placesview: vertically align path labels
authorGeorges Basile Stavracas Neto <georges.stavracas@gmail.com>
Thu, 29 Oct 2015 12:14:57 +0000 (10:14 -0200)
committerGeorges Basile Stavracas Neto <georges.stavracas@gmail.com>
Fri, 30 Oct 2015 13:35:43 +0000 (11:35 -0200)
commit50c6a11b050c97f5a3f901340ffb6628c84af6c9
tree905354ceea7d427014c8be0a4b9c8082085a8ca5
parent84380b345d93b2a7d5ca6c78e565d3d6ec4ad3e1
placesview: vertically align path labels

The current situation is somewhat sad, with the path
label totally misaligned throughout the rows.

This is fixed by using a size group for the path labels,
so they all have the same allocated size (with the max
of 15 chars). Also, instead of hiding the eject button,
set it child-invisible, so it is hidden and yet it's size
is allocated by GtkBox.

https://bugzilla.gnome.org/show_bug.cgi?id=757303
gtk/gtkplacesview.c
gtk/gtkplacesviewrow.c
gtk/gtkplacesviewrowprivate.h
gtk/ui/gtkplacesviewrow.ui